package com.resto.common.dao.jdbc.param;

import java.io.Serializable;
import java.sql.PreparedStatement;
import java.sql.SQLException;

/**
 * Created by zhaojingyang on 15-9-9.
 */
public interface ISqlParam<T> extends Serializable {
    public void setParameter(T p);
    public void setPstParameter(PreparedStatement pst) throws SQLException;
    public void setParamIndex(int index);
    public T getParamValue();
    public int getParamSize();
}
